package cn.iocoder.yudao.module.pickbook.controller.admin.voiceactors.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 配音新增/修改 Request VO")
@Data
public class VoiceActorsSaveReqVO {

    @Schema(description = "配音作品唯一ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23741")
    private Long id;

    @Schema(description = "用户ID", example = "19832")
    private Long userId;

    @Schema(description = "绘本ID", example = "6103")
    private Long bookId;

    @Schema(description = "音频URL", example = "https://www.iocoder.cn")
    private String audioUrl;

    @Schema(description = "配音评分")
    private Integer score;

    @Schema(description = "创建者", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "创建者不能为空")
    private String creator;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新者", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "更新者不能为空")
    private String updater;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime updateTime;

}